package com.ylbh.common.pojo.sign.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ${wjc}
 * @date : 2019/12/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("shopping_signin_turntable_info")
public class ShoppingSigninTurntableInfoVO implements Serializable {

    /**
     * ID
     */
    @TableId
    private Integer id;

    private String name;

    @TableField("begin_time")
    private Date beginTime;

    @TableField("end_time")
    private Date endTime;
    /**
     * 限制每天抽奖次数
     */
    @TableField("lucky_draw_day")
    private Integer luckyDrawDay;
    /**
     * 是会员可多抽奖次数
     */
    @TableField("member_frequency")
    private Integer memberFrequency;

    @TableField("image_url")
    private String imageUrl;

    @TableField("lottery_permission")
    private Integer lotteryPermission;
    /**
     * 富文本回复
     */
    @TableField("rich_content")
    private String richContent;
    /**
     *排序
     */
    private Integer  sort;
    /**
     *备注
     */
    private String  remark;
    /**
     * 启用状态
     */
    @TableField("enable_state")
    private Integer enableState;

    @TableField("create_time")
    private Date createTime;
    /**
     * 创建者ID
     */
    @TableField("create_user_id")
    private String createUserId;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 更新者ID
     */
    @TableField("update_user_id")
    private String updateUserId;

    @TableField("delete_status")
    private Integer deleteStatus;

    private int count;

    private List<ShoppingSigninPrizeVO> subPrizeVo;
}
